const mongoose = require('mongoose');

let mySonSchema = mongoose.Schema({
    name: String,
    age: Number
});
//创建模板对象
let mySonModel = mongoose.model('mysons', mySonSchema);

module.exports = mySonModel;